package com.gdones.bootserver.bus.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gdones.bootserver.bus.staff.dto.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-04-04
 */
@Mapper
public interface StaffMapper extends BaseMapper<Staff> {

    IPage<Staff> myPage(Page<Object> of,@Param("dto") Staff dto);

    List<Staff> list(@Param("dto") Staff dto);
}
